<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/include/common_tag.jsp" %>
<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">新增咨询</h3>
	</div>
	<div class="panel-body">
		<form:form cssClass="form-horizontal" role="form" id="form">
			<input type="hidden" id="id" name="id" value="${consultV.id}"/>
			<div class="form-group">
				<label for="keyword" class="col-xs-12 col-sm-3 control-label no-padding-right">关键字:</label>
				<div class="col-xs-12 col-sm-4">
					<input type="text" id="keyword" name="keyword" class="width-100" value="${consultV.keyword}" required=true  maxLength="50" minLength="2"/>
					<span class="required">*</span>
				</div>
			
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label for="replyContent" class="col-xs-12 col-sm-3 control-label no-padding-right">回复内容</label>
				<div class="col-xs-12 col-sm-4">
					<textarea class="form-control width-100" id="replyContent" name="replyContent" rows="10" style="width: 95%!important;" maxLength="300">${consultV.replyContent}</textarea>
				</div>
			</div>
			<div class="space-12"></div>
			<div class="form-group" style="text-align: center;">
				<div class="col-sm-9">
					<button id="returnBtn" type="button" class="btn btn-default btn-sm no-border">
						<i class="fa fa-undo"></i>返回
					</button>
					<button id="saveBtn" type="button" class="btn btn-success btn-sm no-border">
						<i class="fa fa-check"></i>提交
					</button>
				</div>
			</div>
		</form:form>
	</div>
</div>

